﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Attributes - Attr</title>
    <script src="script/jquery-1.3.2.js" type="text/javascript"></script>
    <script language="javascript" type="text/javascript">
        $(document).ready(function() {
            $("div").attr("style", "border:dashed 1px #000;padding:13px;margin-bottom:13px");
            $("input").attr("value", "Tombol");
            $("img").attr({
                alt:"Logo",
                src: "images/logo.gif",
                width: "113"
            });
        });
    </script>
</head>
<body>
    <div>Hello jQuery</div>
    <input type="button" />
    <img />
</body>
</html>
